package com.lagou.edu;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @author lyj
 * @Title: ConfigServerApplication
 * @ProjectName lagou-parent
 * @Description: TODO
 * @date 2021/1/2 3:07
 */

@SpringBootApplication
@EnableDiscoveryClient
@EnableConfigServer //开启 服务配置功能
public class ConfigServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class,args);
    }
}
